from flask import Flask
from .new_app01 import new_app1_obj
from .new_app02 import new_app2_obj

print("================ start =================")

new_app = Flask(__name__)
new_app.config.from_object("new_project_settings.Config")

# 注册蓝图
new_app.register_blueprint(new_app1_obj, url_prefix="/new/app1")
new_app.register_blueprint(new_app2_obj, url_prefix="/new/app2")